package com.sugon.webservice.service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * @auther: duke
 * @description:
 * @date: 14:03 2022/12/29
 */
@WebService(name = "DataAccess", targetNamespace = "http://tempuri.org/")
public interface INwService {
    /**
     * 用户身份验证接口
     *
     * @param userid
     * @param password
     * @return
     */
    String LoginByAccount(@WebParam(name = "userid") String userid, @WebParam(name = "password") String password);

    /**
     * 数据推送接口
     *
     * @param guid
     * @param catalogid
     * @param xmlstr
     * @return
     */
    String pushXml(@WebParam(name = "guid") String guid, @WebParam(name = "catalogid") String catalogid, @WebParam(name = "xmlstr") String xmlstr);

    /**
     * 审批数据推送接口
     *
     * @param guid
     * @param catalogid
     * @param xmlstr
     * @return
     */
    String pushXmlBackflow(@WebParam(name = "guid") String guid, @WebParam(name = "catalogid") String catalogid, @WebParam(name = "xmlstr") String xmlstr);
}
